-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create gluetun-docker-compose.yaml #152
Conversation
extend perplexica with VPN
Hi, thanks for the PR! I appreciate your efforts but I've never worked around with Glueten. Can you explain its use case within Perplexica? |
Every request outside your netwrok is on a VPN You build a VPN container and all others containers can run inside it, you can still access all your webui's locally, been using Gluetun for a year now. So when you go to Searxng in :4000 and type whats my ip you get ip of vpn, when you send out requests with chatgpt or ollama it's all on VPN! |
This seems like a nice idea. We also need to add documentation for this because not everyone is familiar with Glueten or Docker. |
Adding documentation for use of gluetun vpn stack with Perplexica
adding servers file for gluetun-docker-compose.yaml easy startup for new users
All added, thanks. |
Is it necessary to check in that massive servers.json? I don't know gluetun, but the documentation seems to suggest this list is also packaged in the gluetun docker image. My opinion is also, that this compose file can be set up by anyone who is interested in using gluetun themselves. I would not need the gluetun compose and would definitely not want a 6.5MB untrusted and soon outdated json. |
I can remove the servers.json if 6mb is to much for you, as the list does get updated by gluetun so won't be outdated, there is an env UPDATER=24h can also be added, your not going to use anyway sounds like and yes someone could do all this manually and try and figure out a yaml but it's already been done with Documentation. You don't want to use it great don't but for others wanting to or already have OpenVPN or Wireguard configs can easily get the whole setup running. You just don't want to see a extra .yaml in root or? |
removing as to large for those that don't want 6mb of data and not using gluetun
Ok, the auto update sounds nice. Then the maintainer of this repo doesn't need to take care of keeping the json up to date or ship an outdated one by default 👍
There would be a large number of other equally useful things one could add. I personally like to keep these "addons" a bit separated if there is no necessity to be maintained within the main product. Smaller footprint for users who might not use it, less to maintain for the developer. I don't doubt the usefulness of gluetun, but not everybody has a setup that needs it. |
Oh and a follow up |
Update the VPN servers listThe VPN servers list used by Gluetun is the merged list from:
The built-in servers list can become outdated. Update periodicallyBy default this is disabled. You can set the environment variable This periodic update can be extended to update data for other providers by setting them as a comma separated value in the environment variable |
The idea of addons seems really nice. I will take a look into that, we (the community members) can together maintain another repository for the addons. |
Ya I have been using this setup for over a month now, no issues, works great and provides extra layer of privacy and security. Just let me know if you like me to do anything or feel free if you make another repo for addons to use this setup as needed. thanks. |
updated gluetun-docker-compose.yaml for those using this setup. Tested and working good.
|
updated to work with main changes
Extend perplexica with VPN
Tested and working, also works with ollama locally!
Just need your VPN creds.
More info on gluetun vpn settings https://github.com/qdm12/gluetun
to run use
To remove